------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  ...\1903 JOP\law_sheriff_trust.log
  log type:  text
 opened on:  12 Mar 2019, 15:20:04

. 
. set seed X538fcd95664037d368b6aaaa80b16c380004352d

. 
. ologit law_sheriff trust_poa ///
>      lawendorse trust_poa_lawendorse ///
>          saccounty sac_trust_poa ///
>          sac_lawendorse sac_trust_poa_lawendorse ///
>          black black_trust_poa ///
>          black_lawendorse black_trust_poa_lawendorse

Iteration 0:   log likelihood = -2508.8706  
Iteration 1:   log likelihood = -2429.6033  
Iteration 2:   log likelihood = -2429.3399  
Iteration 3:   log likelihood = -2429.3398  

Ordered logistic regression                       Number of obs   =       2323
                                                  LR chi2(11)     =     159.06
                                                  Prob > chi2     =     0.0000
Log likelihood = -2429.3398                       Pseudo R2       =     0.0317

--------------------------------------------------------------------------------------------
               law_sheriff |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
---------------------------+----------------------------------------------------------------
                 trust_poa |   .1603089   .1531198     1.05   0.295    -.1398004    .4604182
                lawendorse |   .2870754    .143917     1.99   0.046     .0050032    .5691476
      trust_poa_lawendorse |   .6096471   .2206848     2.76   0.006     .1771128    1.042181
                 saccounty |  -.1646254   .1404109    -1.17   0.241    -.4398257     .110575
             sac_trust_poa |   .7745254   .2187014     3.54   0.000     .3458785    1.203172
            sac_lawendorse |  -.0775391   .2067116    -0.38   0.708    -.4826863    .3276081
  sac_trust_poa_lawendorse |  -.2559419   .3173929    -0.81   0.420    -.8780205    .3661367
                     black |   .0447418   .1990716     0.22   0.822    -.3454315     .434915
           black_trust_poa |  -.7104778   .4326933    -1.64   0.101    -1.558541    .1375855
          black_lawendorse |   -.160115    .307344    -0.52   0.602    -.7624981    .4422681
black_trust_poa_lawendorse |   .5390112   .6240126     0.86   0.388     -.684031    1.762053
---------------------------+----------------------------------------------------------------
                     /cut1 |  -.8102805    .100393                     -1.007047   -.6135138
                     /cut2 |    .945497   .1010262                      .7474893    1.143505
--------------------------------------------------------------------------------------------

. 
. estsimp ologit law_sheriff trust_poa ///
>      lawendorse trust_poa_lawendorse ///
>          saccounty sac_trust_poa ///
>          sac_lawendorse sac_trust_poa_lawendorse ///
>          black black_trust_poa ///
>          black_lawendorse black_trust_poa_lawendorse

Iteration 0:   log likelihood = -2508.8706
Iteration 1:   log likelihood = -2429.6033
Iteration 2:   log likelihood = -2429.3399
Iteration 3:   log likelihood = -2429.3398

Ordered logit estimates                           Number of obs   =       2323
                                                  LR chi2(11)     =     159.06
                                                  Prob > chi2     =     0.0000
Log likelihood = -2429.3398                       Pseudo R2       =     0.0317

------------------------------------------------------------------------------
 law_sheriff |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
   trust_poa |   .1603089   .1531198     1.05   0.295    -.1398004    .4604182
  lawendorse |   .2870754    .143917     1.99   0.046     .0050033    .5691476
trust_poa_~e |   .6096471   .2206848     2.76   0.006     .1771128    1.042181
   saccounty |  -.1646254   .1404109    -1.17   0.241    -.4398257     .110575
sac_trust_~a |   .7745254   .2187014     3.54   0.000     .3458785    1.203172
sac_lawend~e |  -.0775391   .2067116    -0.38   0.708    -.4826863    .3276081
sac_trust_~e |  -.2559419   .3173929    -0.81   0.420    -.8780205    .3661367
       black |   .0447418   .1990716     0.22   0.822    -.3454315     .434915
black_trus~a |  -.7104779   .4326933    -1.64   0.101    -1.558541    .1375854
black_lawe~e |   -.160115    .307344    -0.52   0.602    -.7624981     .442268
black_trus~e |   .5390113   .6240126     0.86   0.388    -.6840309    1.762053
-------------+----------------------------------------------------------------
       _cut1 |  -.8102806    .100393          (Ancillary parameters)
       _cut2 |   .9454971   .1010262 
------------------------------------------------------------------------------

Simulating main parameters.  Please wait....
% of simulations completed: 7% 15% 23% 30% 38% 46% 53% 61% 69% 76% 84% 92% 100% 

Number of simulations  : 1000
Names of new variables : b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13

. 
. 
. * Control group, non-Sac
. 
. setx median

. setx lawendorse 0

. setx trust_poa 0

. simqi, prval(3) genpr(control_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         0         0     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         0       median  
                 trust_poa |         0         0     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(law_sh~f=3) |   .2796091     .0199038     .2424991    .3175233

Simqi generated the following new variable(s): control_pr

. 
. simqi, fd(prval(3) genpr(trust_poa_fd)) changex(trust_poa 0 1)

First Difference: trust_poa 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(law_sh~f = 3) |   .0347306     .0324645    -.0297647     .099158

Simqi generated the following new variable(s): trust_poa_fd

. 
. simqi, fd(prval(3) genpr(lawendorse_fd)) changex(lawendorse 0 1)

First Difference: lawendorse 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(law_sh~f = 3) |   .0630222     .0313059     .0043237      .12343

Simqi generated the following new variable(s): lawendorse_fd

. 
. 
. setx trust_poa 1

. simqi, prval(3) genpr(trust_poa_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         0         0     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         0       median  
                 trust_poa |         1         1     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(law_sh~f=3) |   .3143397     .0258645     .2665741    .3679886

Simqi generated the following new variable(s): trust_poa_pr

. 
. simqi, fd(prval(3) genpr(trust_poa_lawendorse_fd)) changex(lawendorse 0 1 trust_poa_lawendorse 0 1)

First Difference: lawendorse 0 1 trust_poa_lawendorse 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(law_sh~f = 3) |    .213996     .0399264     .1353315    .2931396

Simqi generated the following new variable(s): trust_poa_lawendorse_fd

. 
. 
. * Endorsement Treatment group, non-Sac
. 
. setx median

. setx lawendorse 1

. setx trust_poa 0

. simqi, prval(3) genpr(lawendorse_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         1         1     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         0       median  
                 trust_poa |         0         0     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(law_sh~f=3) |   .3426313     .0249799     .2956579    .3943364

Simqi generated the following new variable(s): lawendorse_pr

. 
. 
. setx trust_poa 1

. setx trust_poa_lawendorse 1

. simqi, prval(3) genpr(trust_poa_lawendorse_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         1         1     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         0       median  
                 trust_poa |         1         1     
      trust_poa_lawendorse |         1         1     
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(law_sh~f=3) |   .5283357     .0302544     .4704144    .5912371

Simqi generated the following new variable(s): trust_poa_lawendorse_pr

. 
. 
. * Difference in baseline probabilities
. 
. tabstat control_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  control_pr |  .2796091  .0199038  .2249269  .2479729  .2541787   .279948  .3045709  .3113437  .3536789
--------------------------------------------------------------------------------------------------------

. tabstat lawendorse_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
lawendorse~r |  .3426313  .0249799  .2798438  .3036734  .3099046  .3424319  .3755348  .3850382  .4174235
--------------------------------------------------------------------------------------------------------

. 
. gen dif_con_law_pr = lawendorse_pr - control_pr
(1759 missing values generated)

. 
. tabstat dif_con_law_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_con_la~r |  .0630222  .0313059 -.0376873  .0114084   .022566  .0628878  .1041543  .1157752   .158945
--------------------------------------------------------------------------------------------------------

. 
. 
. tabstat trust_poa_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
trust_poa_pr |  .3143397  .0258645   .243673  .2733354  .2822712  .3135794  .3498392  .3570915  .4096282
--------------------------------------------------------------------------------------------------------

. tabstat trust_poa_lawendorse_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
trust_p~e_pr |  .5283357  .0302544  .4228759  .4794138  .4892747  .5292072  .5658896  .5798348  .6175177
--------------------------------------------------------------------------------------------------------

. 
. gen dif_trust_poa_con_law_pr = trust_poa_lawendorse_pr - trust_poa_pr
(1759 missing values generated)

. 
. tabstat dif_trust_poa_con_law_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_trust_~r |   .213996  .0399264  .0872383  .1453825  .1626379  .2142114  .2643659  .2794154  .3332692
--------------------------------------------------------------------------------------------------------

. 
. 
. * Control group, Sac
. 
. setx median

. setx lawendorse 0

. setx trust_poa 0

. setx saccounty 1

. simqi, prval(3) genpr(sac_control_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         0         0     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         1         1     
                 trust_poa |         0         0     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(law_sh~f=3) |   .2484047     .0216161     .2073611    .2901926

Simqi generated the following new variable(s): sac_control_pr

. 
. simqi, fd(prval(3) genpr(sac_trust_poa_fd)) changex(trust_poa 0 1 sac_trust_poa 0 1)

First Difference: trust_poa 0 1 sac_trust_poa 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(law_sh~f = 3) |   .2076676     .0368947      .132705    .2805159

Simqi generated the following new variable(s): sac_trust_poa_fd

. 
. simqi, fd(prval(3) genpr(sac_lawendorse_fd)) changex(lawendorse 0 1 sac_lawendorse 0 1)

First Difference: lawendorse 0 1 sac_lawendorse 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(law_sh~f = 3) |   .0411041     .0323926    -.0237168    .1049617

Simqi generated the following new variable(s): sac_lawendorse_fd

. 
. 
. setx trust_poa 1

. setx sac_trust_poa 1

. simqi, prval(3) genpr(sac_trust_poa_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         0         0     
            sac_lawendorse |         0       median  
             sac_trust_poa |         1         1     
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         1         1     
                 trust_poa |         1         1     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(law_sh~f=3) |   .4560723      .030814     .3945258     .517454

Simqi generated the following new variable(s): sac_trust_poa_pr

. 
. simqi, fd(prval(3) genpr(sac_trust_poa_lawendorse_fd)) changex(lawendorse 0 1 trust_poa_lawendorse 0 1 sac
> _lawendorse 0 1 sac_trust_poa_lawendorse 0 1)

First Difference: lawendorse 0 1 trust_poa_lawendorse 0 1 sac_lawendorse 0 1 sac_trust_poa_lawendorse 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(law_sh~f = 3) |   .1403075     .0417217     .0583668    .2191981

Simqi generated the following new variable(s): sac_trust_poa_lawendorse_fd

. 
. 
. * Endorsement Treatment group, Sac
. 
. setx median

. setx lawendorse 1

. setx trust_poa 0

. setx saccounty 1

. setx sac_lawendorse 1

. simqi, prval(3) genpr(sac_lawendorse_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         1         1     
            sac_lawendorse |         1         1     
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         1         1     
                 trust_poa |         0         0     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(law_sh~f=3) |   .2895088     .0250594     .2422131    .3412525

Simqi generated the following new variable(s): sac_lawendorse_pr

. 
. 
. setx trust_poa 1

. setx sac_trust_poa 1

. setx trust_poa_lawendorse 1

. setx sac_trust_poa_lawendorse 1

. simqi, prval(3) genpr(sac_trust_poa_lawendorse_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         1         1     
            sac_lawendorse |         1         1     
             sac_trust_poa |         1         1     
  sac_trust_poa_lawendorse |         1         1     
                 saccounty |         1         1     
                 trust_poa |         1         1     
      trust_poa_lawendorse |         1         1     
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(law_sh~f=3) |   .5963799     .0306548     .5355091    .6581914

Simqi generated the following new variable(s): sac_trust_poa_lawendorse_pr

. 
. 
. * Difference in baseline probabilities
. 
. tabstat sac_control_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
sac_contro~r |  .2484047  .0216161  .1916362  .2125572  .2210419  .2472627  .2767552  .2849668  .3274941
--------------------------------------------------------------------------------------------------------

. tabstat sac_lawendorse_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
sac_lawend~r |  .2895088  .0250594  .2182796  .2478228  .2576666  .2891496   .321867  .3305731  .3709424
--------------------------------------------------------------------------------------------------------

. 
. gen dif_sac_con_law_pr = sac_lawendorse_pr - sac_control_pr
(1759 missing values generated)

. 
. tabstat dif_sac_con_law_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_sac_co~r |  .0411041  .0323926 -.0566027 -.0114738 -.0003655  .0417769  .0831912  .0944436  .1570102
--------------------------------------------------------------------------------------------------------

. 
. 
. tabstat sac_trust_poa_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
sac_tru~a_pr |  .4560723   .030814  .3625998  .4067985  .4181006  .4561946   .496271  .5073386  .5452337
--------------------------------------------------------------------------------------------------------

. tabstat sac_trust_poa_lawendorse_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
sac_tru~e_pr |  .5963799  .0306548  .4951207  .5460725  .5585278  .5952744  .6343218  .6457726  .6976121
--------------------------------------------------------------------------------------------------------

. 
. gen dif_sac_trust_poa_con_law_pr = sac_trust_poa_lawendorse_pr - sac_trust_poa_pr
(1759 missing values generated)

. 
. tabstat dif_sac_trust_poa_con_law_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_sac_tr~r |  .1403075  .0417217 -.0036832  .0712417  .0849998  .1409896  .1943843  .2074606  .2774807
--------------------------------------------------------------------------------------------------------

. 
. 
. * Control group, black
. 
. setx median

. setx lawendorse 0

. setx trust_poa 0

. setx black 1

. simqi, prval(3) genpr(black_control_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         1         1     
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         0         0     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         0       median  
                 trust_poa |         0         0     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(law_sh~f=3) |   .2893597     .0415332     .2168209     .375348

Simqi generated the following new variable(s): black_control_pr

. 
. simqi, fd(prval(3) genpr(black_trust_poa_fd)) changex(trust_poa 0 1 black_trust_poa 0 1)

First Difference: trust_poa 0 1 black_trust_poa 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(law_sh~f = 3) |  -.0916953     .0717477    -.2322939    .0490506

Simqi generated the following new variable(s): black_trust_poa_fd

. 
. simqi, fd(prval(3) genpr(black_lawendorse_fd)) changex(lawendorse 0 1 black_lawendorse 0 1)

First Difference: lawendorse 0 1 black_lawendorse 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(law_sh~f = 3) |   .0269379     .0646789    -.0923432    .1569485

Simqi generated the following new variable(s): black_lawendorse_fd

. 
. 
. setx trust_poa 1

. setx black_trust_poa 1

. simqi, prval(3) genpr(black_trust_poa_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         1         1     
          black_lawendorse |         0       median  
           black_trust_poa |         1         1     
black_trust_poa_lawendorse |         0       median  
                lawendorse |         0         0     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         0       median  
                 trust_poa |         1         1     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(law_sh~f=3) |   .1976643     .0595284     .0975067    .3258957

Simqi generated the following new variable(s): black_trust_poa_pr

. 
. simqi, fd(prval(3) genpr(black_trust_poa_lawendorse_fd)) changex(lawendorse 0 1 trust_poa_lawendorse 0 1 b
> lack_lawendorse 0 1 black_trust_poa_lawendorse 0 1)

First Difference: lawendorse 0 1 trust_poa_lawendorse 0 1 black_lawendorse 0 1 black_trust_poa_lawendorse 0 
> 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(law_sh~f = 3) |   .2593075     .1076396     .0431488    .4602169

Simqi generated the following new variable(s): black_trust_poa_lawendorse_fd

. 
. 
. * Endorsement Treatment group, black
. 
. setx median

. setx lawendorse 1

. setx trust_poa 0

. setx black 1

. setx black_lawendorse 1

. simqi, prval(3) genpr(black_lawendorse_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         1         1     
          black_lawendorse |         1         1     
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         1         1     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         0       median  
                 trust_poa |         0         0     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(law_sh~f=3) |   .3162975     .0499057     .2245445    .4238043

Simqi generated the following new variable(s): black_lawendorse_pr

. 
. 
. setx trust_poa 1

. setx black_trust_poa 1

. setx trust_poa_lawendorse 1

. setx black_trust_poa_lawendorse 1

. simqi, prval(3) genpr(black_trust_poa_lawendorse_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         1         1     
          black_lawendorse |         1         1     
           black_trust_poa |         1         1     
black_trust_poa_lawendorse |         1         1     
                lawendorse |         1         1     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         0       median  
                 trust_poa |         1         1     
      trust_poa_lawendorse |         1         1     
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(law_sh~f=3) |   .4569719     .0899464     .2867986    .6390235

Simqi generated the following new variable(s): black_trust_poa_lawendorse_pr

. 
. 
. * Difference in baseline probabilities
. 
. tabstat black_control_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
black_cont~r |  .2893597  .0415332  .1615957  .2243172  .2376424  .2871697  .3447363    .36128  .4285088
--------------------------------------------------------------------------------------------------------

. tabstat black_lawendorse_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
black_lawe~r |  .3162975  .0499057  .1677342  .2355344  .2557131  .3137103  .3804939  .4005396   .480784
--------------------------------------------------------------------------------------------------------

. 
. gen dif_black_con_law_pr = black_lawendorse_pr - black_control_pr
(1759 missing values generated)

. 
. tabstat dif_black_con_law_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_black_~r |  .0269379  .0646789 -.1565917 -.0747509 -.0544739  .0251331  .1108075   .135336  .2941974
--------------------------------------------------------------------------------------------------------

. 
. 
. tabstat black_trust_poa_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
black_t~a_pr |  .1976643  .0595284  .0532012  .1089146  .1233233  .1925553  .2747271  .3099225  .4488887
--------------------------------------------------------------------------------------------------------

. tabstat black_trust_poa_lawendorse_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
black_t~e_pr |  .4569719  .0899464  .1836472  .3111731  .3450803  .4550814  .5763272  .6109474  .7399212
--------------------------------------------------------------------------------------------------------

. 
. gen dif_black_trust_poa_con_law_pr = black_trust_poa_lawendorse_pr - black_trust_poa_pr
(1759 missing values generated)

. 
. tabstat dif_black_trust_poa_con_law_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_black_t~ |  .2593075  .1076396 -.1158918  .0732092  .1201678  .2617468  .3946249  .4280533  .5511799
--------------------------------------------------------------------------------------------------------

. 
. 
. * Calculate difference in first differences
. 
. tabstat lawendorse_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
lawendorse~d |  .0630222  .0313059 -.0376873  .0114084   .022566  .0628878  .1041543  .1157752   .158945
--------------------------------------------------------------------------------------------------------

. tabstat trust_poa_lawendorse_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
trust_p~e_fd |   .213996  .0399264  .0872383  .1453825  .1626379  .2142114  .2643659  .2794154  .3332692
--------------------------------------------------------------------------------------------------------

. 
. gen dif_trust_poa_con_law_fd = trust_poa_lawendorse_fd - lawendorse_fd
(1759 missing values generated)

. 
. tabstat dif_trust_poa_con_law_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_trust_~d |  .1509738  .0516875  .0079407  .0657854  .0826441  .1525518  .2171033  .2345727  .3157538
--------------------------------------------------------------------------------------------------------

. 
. 
. tabstat sac_lawendorse_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
sac_lawend~d |  .0411041  .0323926 -.0566027 -.0114738 -.0003655  .0417769  .0831912  .0944436  .1570102
--------------------------------------------------------------------------------------------------------

. tabstat sac_trust_poa_lawendorse_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
sac_tru~e_fd |  .1403075  .0417217 -.0036832  .0712417  .0849998  .1409896  .1943843  .2074606  .2774807
--------------------------------------------------------------------------------------------------------

. 
. gen dif_sac_trust_poa_con_law_fd = sac_trust_poa_lawendorse_fd - sac_lawendorse_fd
(1759 missing values generated)

. 
. tabstat dif_sac_trust_poa_con_law_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_sac_tr~d |  .0992034  .0517106 -.0796189  .0119487  .0319782  .1003492  .1641409  .1794709   .245372
--------------------------------------------------------------------------------------------------------

. 
. 
. tabstat black_lawendorse_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
black_lawe~d |  .0269379  .0646789 -.1565917 -.0747509 -.0544739  .0251331  .1108075   .135336  .2941974
--------------------------------------------------------------------------------------------------------

. tabstat black_trust_poa_lawendorse_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
black_t~e_fd |  .2593075  .1076396 -.1158918  .0732092  .1201678  .2617468  .3946249  .4280533  .5511799
--------------------------------------------------------------------------------------------------------

. 
. gen dif_black_trust_poa_con_law_fd = black_trust_poa_lawendorse_fd - black_lawendorse_fd
(1759 missing values generated)

. 
. tabstat dif_black_trust_poa_con_law_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_black_~d |  .2323697  .1250032 -.2266845  .0266338  .0695866  .2354773  .3874182  .4388599  .6442748
--------------------------------------------------------------------------------------------------------

. 
. 
. drop b1-b13

. drop control_pr-dif_black_trust_poa_con_law_fd

. 
. log close
      name:  <unnamed>
       log:  ...\1903 JOP\law_sheriff_trust.log
  log type:  text
 closed on:  12 Mar 2019, 15:20:07
------------------------------------------------------------------------------------------------------------
